package com.jell.purchase.service;

import com.github.pagehelper.Page;
import com.jell.purchase.model.GoodsInfoDo;
import com.jell.purchase.model.po.GoodsCreatePO;
import com.jell.purchase.model.po.GoodsListPO;
import com.jell.purchase.model.vo.GoodsInfoVO;
import com.jell.purchase.model.vo.GoodsListVO;
import com.jell.purchase.vo.PageVO;
import com.jell.purchase.vo.Result;

import java.util.List;

/**
 * Created by linx on 2018-04-17.
 */
public interface GoodsInfoService {
    GoodsInfoVO getGoodsInfoById(Integer id);

    PageVO<GoodsListVO> selectGoodsList(GoodsListPO po);

    Integer create(GoodsCreatePO po);

    void deleteById(Integer id);
    public PageVO<GoodsListVO> selectGoodsListByName(GoodsListPO po);
    public List<GoodsInfoDo> selectGoodsById(Integer goodsId);
}
